import axios from 'axios'
// 友情链接
export const getLink = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/links'
  })
}
// 公告通知
export const getNotice = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/notice'
  })
}
// 安全通报列表
export const getNotification = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/journal'
  })
}
// 重点工作
export const getWork = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/Doing'
  })
}

// 文电资料information
export const getDataInfo = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/telegra'
  })
}
// 文电列表
export const getMessageInfo = () => {
  return axios({
    method: 'get',
    url: '/api/index.php/api/index/cable'
  })
}
// 安全天数
export const getDays = () => {
  return axios({
    method: 'post',
    url: '/api/index.php/api/index/safedays',
    params: {
      name: '郑州桥工段',
      days: '12344',
      behind: '2023年10月20日'
    }
  })
}
